// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity.p_a;

import android.text.Layout;
import android.widget.TextView;
import com.nnee.p_fk.cls_k;
import com.nnee.p_pr.p_activity.p_view.b;

// Referenced classes of package com.nnee.p_pr.p_activity.a:
//            ai, af

class l
    implements cls_b
{

    l(af af1)
    {
        a = af1;
        super();
    }

    public void a(TextView textview)
    {
        cls_ai ai1;
        String s;
        ai1 = null;
        s = textview.getText().toString();
        if(textview.getTag() instanceof cls_ai)
            ai1 = (ai)textview.getTag();
        if(4 < textview.getLineCount()) goto _L2; else goto _L1
_L1:
        if(ai1 != null)
            ai1.i.setVisibility(8);
_L4:
        return;
_L2:
        int i = textview.getLayout().getLineVisibleEnd(3);
        if(ai1 != null)
        {
            ai1.i.setVisibility(0);
            ai1.i.setText(s.subSequence(i, s.length()));
            int j;
            if(ai1.a)
                j = k.a(af.a(a)).c(0x7f0800bb);
            else
                j = k.a(af.a(a)).c(0x7f0800bd);
            ai1.i.setTextColor(j);
        }
        if(true) goto _L4; else goto _L3
_L3:
    }

    final af a;
}
